package com.dormitory.management.system.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 水电费用表
 * </p>
 *
 * @author
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Cost对象", description="水电费用表")
public class CostPageReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页",required = true)
    private int pageCurrent=1;

    @ApiModelProperty(value = "每页记录数",required = true)
    private int pageSize=10;

    @ApiModelProperty(value = "房间号")
    private Long room;

    @ApiModelProperty(value = "创建日期")
    private Date gmtCreate;

    @ApiModelProperty(value = "结束日期")
    private Date gmtEnd;

    @ApiModelProperty(value = "水电费总计")
    private BigDecimal costTotal;

    @ApiModelProperty(value = "当前用户账号",required = true)
    private String username;
}
